import java.util.Scanner;

public class Work5 {
    public static void main(String[] args) {
        int sum = 0;
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入5个成绩");
        for (int i = 0;i<5;i++){
            int x = sc.nextInt();
            if (i<0 && i>100){
                System.out.println("你输入的成绩有误");
            }else{
                sum+=x;
            }
        }
        System.out.println(sum);
    }
}
